package com.bnz.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 类名：
 * 作者：WF
 * 功能：学生类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
	private Integer sid;
	private String sname;
	private String sex;
	private Integer age;
	private String addr;
	private Integer cid;
	private String cname;


	public Student(String sex, Integer age, String addr, Integer cid, String sname) {
		this.sex = sex;
		this.age = age;
		this.addr = addr;
		this.cid = cid;
		this.sname=sname;
	}

	public Student(Integer sid, String sex, Integer age, String addr, Integer cid, String cname) {
		this.sid = sid;
		this.sex = sex;
		this.age = age;
		this.addr = addr;
		this.cid = cid;
		this.cname = cname;
	}
}
